package org.javaboy.demo;

import org.javaboy.demo.controller.UserController;
import org.javaboy.demo.service.UserService;

public class Demo {
    public static void main(String[] args) {
//        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(JavaConfig.class);
//        UserController uc = ctx.getBean(UserController.class);
//        System.out.println("uc.sayHello() = " + uc.sayHello());
//        UserController userController = new UserController();
//        userController.sayHello();
    }
}
